package com.shop.shoporder.service;

import com.shop.shoporder.entity.GoodsBanner;

import java.util.List;

public interface GoodsBannerService {

    int deleteByPrimaryKey(Integer bannerId);

    int insert(GoodsBanner record);

    int insertSelective(GoodsBanner record);

    GoodsBanner selectByPrimaryKey(Integer bannerId);

    int updateByPrimaryKeySelective(GoodsBanner record);

    int updateByPrimaryKey(GoodsBanner record);

    //获取首页banner
    List<GoodsBanner> getBanners();
}
